home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990422-19990725
/
000129_news@watsun.cc.columbia.edu _Mon Jun 7 15:54:49 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA06554
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 7 Jun 1999 15:54:49 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA19048
for kermit.misc@watsun.cc.columbia.edu; Mon, 7 Jun 1999 15:47:48 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: moving from serial to tcp/ip (reduex)
Date: 7 Jun 1999 19:47:48 GMT
Organization: Columbia University
Message-ID: <7jh7l4$ij5$1@newsmaster.cc.columbia.edu>
To: kermit.misc@watsun.cc.columbia.edu
In article <7jh1h3$ttu$1@nnrp1.deja.com>, <leofa@my-deja.com> wrote:
: In article <7j9gak$rfg$1@newsmaster.cc.columbia.edu>,
: fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
: > In article <7j9c18$mna$1@nnrp1.deja.com>, <leofa@my-deja.com> wrote:
: > : yes. ok. thanks. telnet works fine.
: > : but i still can not get my two line script on the nt box to run. the
: > : first line is "set file download c:\k95\xfer" and the second is "remote
: > : dir /usr/drs/xfer > file.lst". it is the remote dir line that doesnt
: > : work. if i try it by hand, it just sits there till i press e a lot or
: > : ctrl-c. (i would then conditionally set off additional .ksc scripts to
: > : remote file gets). could you please help with any further advice!
: >
: > At the time these commands are executed:
: >
: > 1. You must have established the connection to the Unix system;
: > 2. You must have logged in to Unix;
: > 3. You must have started C-Kermit on UNIX and put it in server mode.
:
: i appologize for being obtuse but 1. what else do i have to to to
: establish a connection to the unix system besides issue a "set net type
: tcp/ip" and "set host 172.16.1.40" commands? kermit says something
: about connecte OK.
:
So you have a connection.
: 2. logging into unix -- which way do i use to do this? sense i just
: want to do the "remote" commands to the unix kermit server, can i just
: "remote login"? this doesnt seem to work.
:
You haven't logged in to UNIX yet. REMOTE LOGIN is for "logging in" to a
Kermit server. But the thing on the far end is not a Kermit server, it is
(presumably) the UNIX login prompt.
: 3. the unix box is an old (circa 1993) sco unix pc. i have one task
: running kermit in server mode all the time. its been working in server
: mode for a 1/2 years (hooked to the serial cable which was hooked to
: the k95 nt box). obviously, the server has been listening on the
: serial "link". do i need to tell it something to listen on the
: "tcp/ip" link?
:
There are numerous ways to do this:
1. Invoke "kermit -x" in the login profile (.profile, .login, .bashrc,
whatever) of the user who is logging in; or:
2. Make "kermit -x" the user's login shell; or:
3. Start Kermit on UNIX and tell it to "set host * xxxx" (where xxxx is
the TCP port of your choice), to await an incoming TCP connection on
port xxxx.
4. The best method, and the one that works the way you want and expect,
is the new Internet Kermit Service Daemon (IKSD):
http://www.columbia.edu/kermit/ck70.html
but this might not work on your old SCO operating system (you didn't
say what it was).
Or you can forget all the above and adapt the scripts that are in the book
for connecting and logging in to UNIX. Something like:
set network type tcp/ip
set host 172.16.1.40
if fail (do something)
input 10 login:
if fail (do something)
output (userid)\13
input 10 Password:
if fail (do something)
output (password)\13
input 30 (UNIX prompt)
if fail (do something)
output kermit -x\13
- Frank